import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif

import uView from "uview-ui";
Vue.use(uView);

import until from './untils/until.js'
Vue.use(until);

//api接口
Vue.prototype.$api = {}
import Api from './untils/api.js'
Vue.use(Api,app);

import copyRight from '@/components/copyright/index.vue'
Vue.component('copyRight',copyRight)

import wechat from './untils/wechat.js'

Vue.prototype.$wechat =wechat;// 微信jssdk
